package com.ruoyi.project.business.tmppost.service;

import com.ruoyi.project.business.tmppost.entity.TmpPost;
import com.ruoyi.project.business.tmppost.request.AddTmpPostRequest;
import com.ruoyi.project.business.tmppost.request.ListTmpPostRequest;
import com.ruoyi.project.business.tmppost.response.TmpPostResponse;

import java.util.List;

/**
 * 临工岗位Service接口
 * 
 * @author ${author}
 * @date 2024-04-01
 */
public interface ITmpPostService {
    /**
     * 查询临工岗位
     *
     * @param id 临工岗位ID
     * @return 临工岗位
     */
    public TmpPost selectTmpPostById(Long id);

    /**
     */
    public List<TmpPostResponse> selectTmpPostList(ListTmpPostRequest request, Long tenantId);


    public int insertTmpPost(AddTmpPostRequest request, Long operatorId, Long tenantId);

    /**
     * 修改临工岗位
     * 
     * @return 结果
     */
    public int updateTmpPost(TmpPost entity, Long operatorId, Long tenantId);

    /**
     * 批量删除临工岗位
     * 
     * @return 结果
     */
    public int deleteTmpPostByIds(Long[] ids, Long operatorId, Long tenantId);

    /**
     * 删除临工岗位信息
     * 
     * @return 结果
     */
    public int deleteTmpPostById(Long id, Long operatorId, Long tenantId);
}
